package com.cloudbroker.bcs.platform.ltb.bizexport.t2.admin;

import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.AdminPushBizService;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.back.PushBackVo;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.back.PushListBackVo;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.t2service.admin.AdminPushT2BizService;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by daibd19671 on 2016/9/19.
 */
@Service
public class AdminPushT2 implements AdminPushT2BizService {


    @Resource
    private AdminPushBizService adminPushBizService;
    @Override
    public PushBackVo sendPush(@ServiceParam("param") AdminNotifyForm notifyForm) {
        return adminPushBizService.sendPush(notifyForm);
    }
    @Override
    public PushBackVo bgSendPush(@ServiceParam("param") BgNotifyForm notifyForm) {
        return adminPushBizService.bgsendPush(notifyForm);
}

    @Override
    public PushListBackVo getPushList(@ServiceParam("param") PushListForm pushListForm) {
        return adminPushBizService.getPushList(pushListForm);
    }


    @Override
    public HSBCPSBackVO tagAdd(@ServiceParam("param") AdminTagAdd form) {
        return adminPushBizService.tagAdd(form);
    }

    @Override
    public HSBCPSBackVO tagDelete(@ServiceParam("param") AdminTagDelete form) {
        return adminPushBizService.tagDelete(form);
    }


    @Override
    public HSBCPSBackVO func_ennable_push(ManageEnableDisableScheduleVo form) {
        return adminPushBizService.ennable_push(form);
    }

    @Override
    public HSBCPSBackVO func_disable_push(ManageEnableDisableScheduleVo form) {
        return adminPushBizService.disable_push(form);
    }

    @Override
    public HSBCPSBackVO func_update_push(ManageUpdateScheduleVo form) {
        return adminPushBizService.update_push(form);
    }
}
